package com.gdssoft.pdaweb.dao.impl;

import java.util.List;

import com.gdssoft.core.dao.impl.BaseDaoImpl;
import com.gdssoft.pdaweb.dao.PdaMdBuildingDao;
import com.gdssoft.pdaweb.model.PdaMdBuilding;

public class PdaMdBuildingDaoImpl extends BaseDaoImpl<PdaMdBuilding> implements PdaMdBuildingDao{
	public PdaMdBuildingDaoImpl() {
		super(PdaMdBuilding.class);
	}

	@Override
	public List<PdaMdBuilding> getByDistrictId(String districtId) {
		String hql = "from PdaMdBuilding where districtId='"+districtId+"'";
		return this.findByHql(hql);
	}
}
